package com.example.demo.dao;

import com.example.demo.pojo.Video;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface DaoVideo extends JpaRepository<Video,String> {
    List<Video> findAllByVideoClass(Sort n,String s);
}
